from pydantic import BaseModel


class RegionOut(BaseModel):
    id: int
    pid: int
    name: str
    level: int
    model_config = {"from_attributes": True}
